package com.atguigu.designpattern.template.impl;

import com.atguigu.designpattern.template.OrderProcessTemplate1;

/**
 * @author  Jungle
 * @create  2025-03-02 22:07
 *  门店订单：算法细节实现
 */
public class StoreOrder1 implements OrderProcessTemplate1 {

    @Override
    public void doSelect() {
        System.out.println("用户选择了:3号货架-xiaomi11 商品");
    }

    @Override
    public void doPayment() {
        System.out.println("刷卡机 刷卡支付 1999");
    }

    @Override
    public void doReceipt() {
        System.out.println("打印发票，和物品一起包装");
    }

    @Override
    public void doDelivery() {
        System.out.println("把商品交给用户，用一个漂亮的袋子");
    }
}
